"""
带参数的__int__()
    传参数
"""
class Washer():
    def __init__(self,width,height):
        self.width = width
        self.height = height

    def print_info(self):
        print(f'洗衣机高度={self.height}')
        print(f'洗衣机宽度={self.width}')


haier1 = Washer(500,800)
haier1.print_info()

haier2 = Washer(400,600)
haier2.print_info()